﻿using System.Web.Mvc;

namespace AutomationHost.Areas.Case
{
    public class CaseAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "Case";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "Case_default",
                "Case/{controller}/{action}/{id}",
                new { action = "Index", id = UrlParameter.Optional },
                new[] { "AutomationHost.Areas.Case.Controllers" } 
            );
        }
    }
}
